import com.dmotiko.chabeli.*
import com.dmotiko.general.*
import com.dmotiko.util.*

class ChabeliFooter
extends BaseClip {
	
	private var interpolate:Function;
	private var interpolator:MovieClip;
	
	private function ChabeliFooter() {
		super();
		Stage.addListener(this);
		MovieEffects.interpolate();
		this._y = Stage.height + 100;
		this._x = 36;
		onResize();
	}
	
	public function onResize():Void {
		this.interpolator.stopEffect();
		this.interpolator = this.interpolate( { prop: "_y", init: this._y, end: Stage.height - this._height - 10, ratio: 3});
		
	}
	
	
}